﻿using System;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x020000C1 RID: 193
	public class GrounderDemo : MonoBehaviour
	{
		// Token: 0x060005E3 RID: 1507 RVA: 0x00037850 File Offset: 0x00035A50
		public void OnGUI()
		{
			if (GUILayout.Button("Biped", new GUILayoutOption[0]))
			{
				this.Activate(0);
			}
			if (GUILayout.Button("Quadruped", new GUILayoutOption[0]))
			{
				this.Activate(1);
			}
			if (GUILayout.Button("Mech", new GUILayoutOption[0]))
			{
				this.Activate(2);
			}
			if (GUILayout.Button("Bot", new GUILayoutOption[0]))
			{
				this.Activate(3);
			}
		}

		// Token: 0x060005E4 RID: 1508 RVA: 0x000378D0 File Offset: 0x00035AD0
		public void Activate(int index)
		{
			for (int i = 0; i < this.characters.Length; i++)
			{
				this.characters[i].SetActive(i == index);
			}
		}

		// Token: 0x040004F4 RID: 1268
		public GameObject[] characters;
	}
}
